package ooday02;

public class Person {
    String name;
    int ages;
    String address;
    Person(String name ,int ages ,String address){
        this.name=name;
        this.ages=ages;
        this.address=address;
    }
    void eat(){
        System.out.println(name+"");
    }
    void sleep(){
        System.out.println(name+"");
    }
    void sayHi(){
        System.out.println("大家好我叫"+name+"，今年已经"+ages+"了，我家住在"+address);
    }


}
